Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Can you make the password optional?

#60

I'm working on a system where the user can create an account directly with us or use twitter or facebook for logins.

So sometimes the user has a password, sometimes they don't.

If you use Authentication::ByPassword, password is always required.

Is there a way round this, a config option or something that can be used? From my reading of the source code I think there isn't .... ?

(Will probably add a patch to this ticket shortly)

Reported by James · January 4th, 2010 @ 07:58 AM

State: new
Milestone: none
Assigned to: mrflip mrflip

Activity

  1. James
    James

    So I just changed

          def password_required?

        !password.blank?
      end</code>
    
    
    
    
    in Authentication::ByPassword

    I guess this is more of a discussion ticket about how things should work; I couldn't see a newsgroup or more appropriate place, sorry.

    January 4th, 2010 @ 08:46 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.